home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / programming / amos / amoslist-0499 / amoslist / 000045_nobody_Sun Apr 4 18:33:37 1999.msg < prev    next >
Internet Message Format  |  1999-05-17  |  3KB

  1. Received: from onelist.com (pop.onelist.com [209.207.164.13])
  2.     by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id SAA19638
  3.     for <mcox4@osf1.gmu.edu>; Sun, 4 Apr 1999 18:33:36 -0400 (EDT)
  4. Received: (qmail 20658 invoked by alias); 4 Apr 1999 22:24:51 -0000
  5. Received: (qmail 20653 invoked from network); 4 Apr 1999 22:24:49 -0000
  6. Received: from unknown (HELO mail.enterprise.net) (194.72.192.18) by pop.onelist.com with SMTP; 4 Apr 1999 22:24:49 -0000
  7. Received: from enterprise.net (andrewcrowe@max03-026.enterprise.net [194.72.196.26]) by mail.enterprise.net (8.8.5/8.8.5) with SMTP id XAA17218 for <amos-list@onelist.com>; Sun, 4 Apr 1999 23:33:25 +0100 (GMT/BST)
  8. From: Andrew Crowe <andrewcrowe@enterprise.net>
  9. To: amos-list@onelist.com
  10. Date: Sun, 04 Apr 1999 23:30:53 +0000
  11. Message-ID: <yam7763.2689.1198492872@mail.enterprise.net>
  12. In-Reply-To: <yam7763.354.141929488@vip.cybercity.dk>
  13. X-Mailer: YAM 2.0Preview7 [020] - Amiga Mailer by Marcel Beck - http://www.yam.ch
  14. Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
  15. Delivered-To: mailing list amos-list@onelist.com
  16. Precedence: bulk
  17. List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
  18. Reply-to: amos-list@onelist.com
  19. Mime-Version: 1.0
  20. Content-Type: text/plain; charset=iso-8859-1
  21. Content-transfer-encoding: 8bit
  22. Subject: [amos-list] Re: Error: Power (^)
  23. Status: O
  24. X-Status: 
  25.  
  26. From: Andrew Crowe <andrewcrowe@enterprise.net>
  27.  
  28. Hi Everybody,
  29.  
  30. > A=2+10^1 : Print A 
  31. > A should be 12, right? Doh. AMOS thinks it's 11! 
  32. > When I use: 
  33. > Print 2+10^1
  34. > Nothing is wrong... 12 is correct... Strange!
  35.  
  36.    That is weird. If you do a=10^1 it gives 9. Also a=10^3 gives 999. Its
  37. taken 1 of what it should be... 
  38.  
  39.    This is also true if you do 7^x, or 13,14,17 and lots more. 
  40.  
  41.    very strange.....
  42.  
  43. > Now try this: 
  44. > A=2 :�Add A,10^1 : Print A
  45. > Result? -1610613434! Aaaargh!
  46. > Using power totally screws up additions.
  47.  
  48.    ah yes, I've hered about that one.
  49.  
  50.  
  51. See ya.
  52. -- 
  53.        Manta Soft  -  Amiga programing & web page designing
  54.    Http://members.tripod.com/~mantasoft/      ICQ: 21829166
  55.               Updated  27/3/99 -- New Bomberman clone started
  56.   - ------------------- Quote of the day: -------------------- -
  57. If it isn't broken, upgrade until it is!
  58. -- Bill Gates
  59.  
  60.  
  61. ------------------------------------------------------------------------
  62. To unsubscribe from this mailing list, or to change your subscription
  63. to digest, go to the ONElist web site, at http://www.onelist.com and
  64. select the Member Center link from the menu bar on the left.
  65. ------------------------------------------------------------------------
  66. Official AMOS WWW: http://members.xoom.com/AmosFactory/front.html